home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-06-20 | 1.5 KB | 66 lines | [TEXT/MPS ] |
- # $RCSfile: Makefile.SH,v $$Revision: 4.1 $$Date: 92/08/07 18:29:07 $
- #
- # $Log: Makefile.SH,v $
-
- .INCLUDE : ::BuildRules.mk
-
- COpt = -w off -sym on -d DEBUGGING
-
- public = a2p s2p find2perl
-
- private =
-
- manpages = a2p.man s2p.man
-
- util =
-
- pl = find2perl.PL s2p.PL
- plextract = find2perl s2p
-
- addedbyconf = $(plextract)
-
- h = EXTERN.h INTERN.h ::config.h handy.h hash.h a2p.h str.h util.h
-
- c = a2p.c hash.c str.c util.c walk.c
-
- obj = {$(c)}.o.680
-
- Libs = "{{MW68KLibraries}}GUSIDispatch.Lib.68K" \
- "{{MW68KLibraries}}GUSIMPW.Lib.68K" \
- "{{MW68KLibraries}}MPWRuntime.68K.Lib" \
- "{{MW68KLibraries}}MPW ANSI (4i/8d) C.68K.Lib" \
- "{{MW68KLibraries}}MathLib68K (4i/8d).Lib" \
- "{{MW68KLibraries}}MacOS.Lib" \
- "{{MW68KLibraries}}CPlusPlus.lib" \
- "{{MW68KLibraries}}GUSI.Lib.68K" \
- "{{MW68KLibraries}}ToolLibs.o" \
- "{{MW68KLibraries}}PLStringFuncs.glue.lib"
-
- all: $(public) $(private) $(util)
- echo > all
-
- a2p: $(obj)
- $(ToolLink68K) -o a2p $(Libs) :Obj:{$(obj)}
-
- # I now supply a2p.c with the kits, so the following section is
- # used only if you force byacc to run by saying
- # make run_byacc
-
- run_byacc:
- @ echo Expect many shift/reduce and reduce/reduce conflicts
- yacc a2p.y
- Rename -y y.tab.c a2p.c
-
- # We don't want to regenerate a2p.c, but it might appear out-of-date
- # after a patch is applied or a new distribution is made.
- a2p.c: a2p.y
- SetFile -m . a2p.c
-
- clean:
- delete -y a2p :Obj:≈
-
- realclean: clean
-
- $(plextract):
- ::miniperl -I::lib $@.PL
-